package james.gan.remoting.api;

import java.util.Map;

import james.gan.container.ServiceContainer;
import james.gan.serialization.api.Serialization;

public abstract class Remoting {

	protected Serialization serialization;

	protected Map<String, Object> extend;
	
	protected ServiceContainer serviceContainer;
	
	public abstract Client getClient();
	
	public abstract Server getServer();
	
	public Serialization getSerialization() {
		return serialization;
	}

	public void setSerialization(Serialization serialization) {
		this.serialization = serialization;
	}

	public Map<String, Object> getExtend() {
		return extend;
	}

	public void setExtend(Map<String, Object> extend) {
		this.extend = extend;
	}

	public ServiceContainer getServiceContainer() {
		return serviceContainer;
	}

	public void setServiceContainer(ServiceContainer serviceContainer) {
		this.serviceContainer = serviceContainer;
	}

}
